package com.project.service;

import com.project.daos.MemberMapper;
import com.project.entity.Member;
import io.swagger.models.auth.In;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MemberService {

    @Autowired
    private MemberMapper memberMapper;

    public Integer updMemberByUid(Member member){
        return memberMapper.updMemberByUid(member);
    }

    public Integer addMember(Integer user_id,Double balance){
        return memberMapper.addMember(user_id, balance);
    }
}
